#pragma once
#include "Iprint.h"
#include "Estate.h"
#include "DataStruct.h"

#include <string>

using namespace std;

class Log : public IPrint , public IOccur
{
private:
	string name;
	STATE state;
	int flag;
	int flag2;
public:
	void printResult(ostream& out);

	Log(void);
	Log(int occurTime , STATE state, string name , int flag = -1 , int flag2 = -1 );
	virtual ~Log(void);
};
